package com.itshare.video.pojo.po;

import java.io.Serializable;
import java.util.Date;

public class Event implements Serializable {
    private Long eventId;

    private Integer revision;

    private String createdBy;

    private Date createdTime;

    private String updatedBy;

    private Date updatedTime;

    private String eventContent;

    private Integer eventType;

    private Integer isLook;

    private Integer deleteStatus;

    private static final long serialVersionUID = 1L;

    public Long getEventId() {
        return eventId;
    }

    public Event withEventId(Long eventId) {
        this.setEventId(eventId);
        return this;
    }

    public void setEventId(Long eventId) {
        this.eventId = eventId;
    }

    public Integer getRevision() {
        return revision;
    }

    public Event withRevision(Integer revision) {
        this.setRevision(revision);
        return this;
    }

    public void setRevision(Integer revision) {
        this.revision = revision;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public Event withCreatedBy(String createdBy) {
        this.setCreatedBy(createdBy);
        return this;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy == null ? null : createdBy.trim();
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public Event withCreatedTime(Date createdTime) {
        this.setCreatedTime(createdTime);
        return this;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getUpdatedBy() {
        return updatedBy;
    }

    public Event withUpdatedBy(String updatedBy) {
        this.setUpdatedBy(updatedBy);
        return this;
    }

    public void setUpdatedBy(String updatedBy) {
        this.updatedBy = updatedBy == null ? null : updatedBy.trim();
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public Event withUpdatedTime(Date updatedTime) {
        this.setUpdatedTime(updatedTime);
        return this;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    public String getEventContent() {
        return eventContent;
    }

    public Event withEventContent(String eventContent) {
        this.setEventContent(eventContent);
        return this;
    }

    public void setEventContent(String eventContent) {
        this.eventContent = eventContent == null ? null : eventContent.trim();
    }

    public Integer getEventType() {
        return eventType;
    }

    public Event withEventType(Integer eventType) {
        this.setEventType(eventType);
        return this;
    }

    public void setEventType(Integer eventType) {
        this.eventType = eventType;
    }

    public Integer getIsLook() {
        return isLook;
    }

    public Event withIsLook(Integer isLook) {
        this.setIsLook(isLook);
        return this;
    }

    public void setIsLook(Integer isLook) {
        this.isLook = isLook;
    }

    public Integer getDeleteStatus() {
        return deleteStatus;
    }

    public Event withDeleteStatus(Integer deleteStatus) {
        this.setDeleteStatus(deleteStatus);
        return this;
    }

    public void setDeleteStatus(Integer deleteStatus) {
        this.deleteStatus = deleteStatus;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", eventId=").append(eventId);
        sb.append(", revision=").append(revision);
        sb.append(", createdBy=").append(createdBy);
        sb.append(", createdTime=").append(createdTime);
        sb.append(", updatedBy=").append(updatedBy);
        sb.append(", updatedTime=").append(updatedTime);
        sb.append(", eventContent=").append(eventContent);
        sb.append(", eventType=").append(eventType);
        sb.append(", isLook=").append(isLook);
        sb.append(", deleteStatus=").append(deleteStatus);
        sb.append("]");
        return sb.toString();
    }
}